package com.shxy.api.controller;

import com.shxy.api.common.ApiResult;
import com.shxy.api.common.ResultCode;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * v1 api
 */
@RestController
@RequestMapping("/v1")
public class V1_Controller {

    @GetMapping("/test")
    public ApiResult test() {
        return ApiResult.create(ResultCode.SUCCESS);
    }
}
